Skip to content

[SPIRV] Cast derivative opts to 32-bits.#7445

Merged
s-perron merged 1 commit intomicrosoft:mainfrom
s-perron:i7431
May 15, 2025
Merged

[SPIRV] Cast derivative opts to 32-bits.#7445
s-perron merged 1 commit intomicrosoft:mainfrom
s-perron:i7431

Conversation

@s-perron
Copy link
Copy Markdown
Collaborator

@s-perron s-perron commented May 9, 2025

The SPIR-V operations require 32-bit floats. Smaller float type can be
cast to 32-bits to perform the operation. The FE already emits a warning
for 64-bits.

Fixes #7431

The SPIR-V operations require 32-bit floats. Smaller float type can be
cast to 32-bits to perform the operation. The FE already emits a warning
for 64-bits.

Fixes microsoft#7431
@s-perron s-perron merged commit 9b04d69 into microsoft:main May 15, 2025
13 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap May 15, 2025
@s-perron s-perron deleted the i7431 branch May 28, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[SPIR-V] ddx/ddy intrinsics fail when using half types

3 participants